<%@ include file="/WEB-INF/jsp/include/head.jsp" %><%@ page language="java" pageEncoding="UTF-8"%>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${locale}">
<head>
    <meta http-equiv="Expires" content="0" /> 
    <meta http-equiv="Pragma" content="No-cache" /> 
    <meta http-equiv="Cahe-Control" content="No-cache" />
    <%@ include file="/WEB-INF/jsp/include/title.jsp" %>
    <%//@ include file="/WEB-INF/jsp/include/common_css.jsp" %>
    <link rel="stylesheet" type="text/css" media="screen" href="<c:url value="/css/sns.css"/>"/>
    <%@ include file="/WEB-INF/jsp/include/common_script.jsp" %>
    <script type="text/javascript">
    //<![CDATA[
    //]]>
    </script>
</head>
<body style="width:1024px;">
    <div class="blueBar2"></div>
    <div class="container">
        <div class="contentIndex">
            <div>
            <div class="menubar_container">
		        <div class="fb_menubar">
		            <ul>
		              <li class="fb_menu">
		                <h1 style="font-size: 20px; font-stretch: 50px;">
		                  <a href="../issue/index.do" class="fb_logo_link">GeekSaga SNS Portal</a>
		                </h1>
		              </li>
		            </ul>
		            <ul>
		              <li>
		                  <div class="menu_login_container">
		                      <form:form id="frmLogin" method="POST" action="login.do">
							  <input id="loginType" name="loginType" type="hidden" value="USER" />
							  <input id="pid" type="hidden" name="pid" value="SAGA" />
							  <input id="type" type="hidden" name="type" value="sns" />
			                  <table cellspacing="0">
			                      <tr>
			                          <td class="html7magic">
	                                   <label for="userId">이메일</label>
			                          </td>
			                          <td class="html7magic">
	                                   <label for="passwd">비밀번호</label>
			                          </td>
			                      </tr>
			                      <tr>
			                          <td>
	                                   <input id="userId" type='text' name='userId' class="inputtext2" />
			                          </td>
			                          <td>
	                                   <input id="passwd" type="password" name="passwd" class="inputtext2" />
			                          </td>
			                          <td>
			                             <label class="uiButtonConfirm">
	                                        <input type="submit" name="loginButton" value="<spring:message code="button.login"/>"/>
	                                     </label>
			                          </td>
			                      </tr>
			                      <tr>
			                          <td class="login_form_label_field">
	                                      <input id="persistent" type="checkbox" value="Search" class="inputcheckbox2"/>
	                                      <label for="persistent">
	                                        로그인 상태 유지
	                                      </label>
			                          </td>
			                          <td class="login_form_label_field">
	                                      <a rel="nofollow" href="#">비밀번호 찾기</a>
			                          </td>
			                      </tr>
			                  </table>
	 	                    </form:form>
 	                    </div>
 	                    </li>
	                </ul>
		        </div>
		        </div>
            </div>
        </div>
    </div>
    
    <c:if test="${not empty param.login_error}">
    <div id="msg" class="alertMsg">
        <font color="red"> Your login attempt was not successful, try again.
        <br />
        Reason: <c:out value="${SPRING_SECURITY_LAST_EXCEPTION.message}" />. </font>
    </div>
    </c:if>
</body>
</html>